package com.cqq.print.business.service;

import java.util.Map;

import com.cqq.common.core.bean.PageInfoBean;
import com.cqq.print.business.service.bean.POrderBean;
import com.cqq.print.business.service.bean.POrderQueryBean;

/**
 * @author CHENQQ
 * @date 2015-07-01
 */
public interface POrderService{
	public int insertSelective(POrderBean pOrderBean);
	
	public PageInfoBean<POrderBean> queryPageOrders(Map<String,Object> map);
    
	public POrderBean queryOrderAndDetailById(int id);
	
	public POrderBean queryOrderById(int id);
    
	public POrderBean queryOrderByorderNum(String orderNum);
	
	public Map<String,Object> getMaxOrderNumToDay(String currDate);
	
	public int updateOrder(POrderBean pOrderBean);
	
	public int updateCheckStatus(POrderBean pOrderBean);
	
	public int updateFlowStatus(POrderBean pOrderBean);
	
	public int updateStatus(POrderBean pOrderBean);
	
	public PageInfoBean<POrderBean> queryOrdersForDispatch(POrderQueryBean queryBean);
}